<?php
namespace App\Models\Mysql;

use App\Models\Admin\InterfaceConfiguration;
use Illuminate\Database\Eloquent\Relations\HasOne;

/**
* @comment
*
* @property int $sid 接口id
* @property string $datas 数据格式
*
*/
class XnTerraceInfo extends BaseModel
{
    /**
     * @var string
     */
    protected $table = 'xn_terrace_info';

    /**
     * @var string[]
    */
    protected $fillable = ['sid', 'datas'];


    /**
     * @return HasOne
     */
    public function traceinfos(): HasOne
    {
        return $this->hasOne(InterfaceConfiguration::class,'id','sid');
    }

}
